package com.lzhl.buildjar.exception;

/**
 * @author 李柱良(@柱子的日月)
 * @date 2016/2/27
 */
public class AbortException extends RuntimeException {

    private Runnable after = null;

    public AbortException() {
    }

    public AbortException(String message) {
        super(message);
    }

    public AbortException(String message, Runnable after) {
        super(message);
        this.after = after;
    }

    public Runnable getAfter() {
        return after;
    }
}
